<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="lib/vue-2.4.0.js"></script>
</head>
<body>
<div id="app">
<!--    <login></login>-->
    <p>135443546</p>
</div>
<script>
    var login={
        template:'<h1>这是登录组件</h1>'
    }
    var vm=new Vue({
        el:"#app",
        data:{},
        methods:{},
        render:function (createElements){
            return createElements(login)
        }
        // components:{
        //     login
        // }
    })
</script>
</body>
</html>